tests: Insulate from user git environment
authorJosh Triplett <josh@joshtriplett.org>
Wed, 1 Mar 2017 23:50:15 +0000 (15:50 -0800)
committerJosh Triplett <josh@joshtriplett.org>
Thu, 2 Mar 2017 01:22:46 +0000 (17:22 -0800)
commit0a4214c68be8d6ca02fd68e5ebfe091b80fed248
tree02e1295f38081e1207aa25fc0d8093924e63ee48
parentbdce1f5d8aae833cf70586477c78f97607a675a4
tests: Insulate from user git environment

Several tests in "cargo test" would fail if the user had any of the Git
environment variables set for name or email address, because those
environment variables would override the tested configuration.  Filter
out those environment variables.
tests/cargotest/lib.rs